//
//  NetWork.h
//  URLSessionTest
//
//  Created by mac on 2017/7/4.
//  Copyright © 2017年 yyb. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NetWork : NSObject

+ (void)requestWithMethod:(NSString *)method
                   andURL:(NSString *)urlString
                andParams:(NSDictionary *)params
                   andCer:(NSString *)cerName
     andUseJSONSerializer:(BOOL )useJSONSerializer
        completionHandler:(void (^)(NSData *  data, NSURLResponse *  response, NSError *  error))completionHandler;


@end
